function queryUpdateIndex(_sPrimaryKey){
	var value;
    var num = 0;
    var chkids = document.getElementsByName(_sPrimaryKey);
    for(var i=0; i<chkids.length; i++){
		if(chkids[i].checked){
			value = chkids[i].value;
			num   = num + 1;
		}
		if(num>1){
			return {index:'none',msg:'\u53ea\u53ef\u4ee5\u9009\u62e9\u4e00\u9879\u8bb0\u5f55!'};
    	}
    }
    if(num == 0){
		return {index:'none',msg:'\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u9879\u8bb0\u5f55!'};
    }
    return {index:value,msg:'none'};
}

function queryDeleteIndex(_sPrimaryKey){
	var value;
    var num = 0;
    var chkids = document.getElementsByName(_sPrimaryKey);
    for(var i=0; i<chkids.length; i++){
		if(chkids[i].checked){
			value = value + ',' + chkids[i].value;
			num   = num + 1;
		}
    }
    if(num == 0){
		return {index:'none',msg:'\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u9879\u8bb0\u5f55!'};
    }
    return {index:value,msg:'none'};

}